package com.mzj.saas.jobs.bill.repository;


import com.mzj.saas.jobs.bill.entity.HouseRemainingPostpone;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import javax.persistence.OrderBy;
import java.util.List;

public interface HouseRemainingPostponeRepository extends PagingAndSortingRepository<HouseRemainingPostpone, Long>, JpaSpecificationExecutor<HouseRemainingPostpone>, JpaRepository<HouseRemainingPostpone,Long> {
    List<HouseRemainingPostpone> findByRemainingIdAndPostponeTypeOrderByLastUpdateTimeDesc(Long remId,Integer postponeType);
}
